home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-68k-src / machines / amiga68k / libsrc / string / strcat.c < prev    next >
C/C++ Source or Header  |  1999-01-01  |  174b  |  13 lines

  1. #include <string.h>
  2.  
  3. char *strcat(char *s1,const char *s2)
  4. {
  5.     char *d=s1,c;
  6.     while(*s1) s1++;
  7.     do{
  8.         c=*s2++;
  9.         *s1++=c;
  10.     }while(c);
  11.     return(d);
  12. }
  13.